﻿@model LeadMaster.ViewModels.ViewModelLeadStatus

@using (Ajax.BeginForm(
    "ChangeLeadStatus","Client",null,
    new AjaxOptions
{
    HttpMethod = "Post"
}, new { @id = "formChangeLeadStatus" }))
{
@Html.ValidationSummary(true)
<fieldset>
<legend>Change Status Of This Lead</legend>
@Html.HiddenFor(m => m.LeadStatus.LeadStatusID)
@Html.HiddenFor(m => m.LeadStatus.BlockID)
@Html.HiddenFor(m => m.LeadStatus.LeadReasonsID)
@Html.HiddenFor(m => m.LeadStatus.LeadID)
@Html.HiddenFor(m => m.LeadStatus.CallCentreID)
@Html.HiddenFor(m => m.LeadStatus.LeadDate)
@Html.HiddenFor(m => m.LeadStatus.PurchaseOrderID)
@Html.HiddenFor(m => m.LeadStatus.VoxFile)
@Html.HiddenFor(m => m.Element)
@Html.HiddenFor(m => m.LeadStatus.Notes)
@Html.HiddenFor(m => m.LeadStatus.ClientNotes)

<div>
<table class="listtable contactstable" cellspacing="0" cellpadding="0" style="width: 500px;" id="enquirylist">
    <tr>
    <th style="text-align: left"><label>Status</label></th>
    <td style="border-style: none">
    @Html.DropDownList("LeadStatus_LeadFlagsID")
    </td>
    </tr>
</table>
</div>
</fieldset>
}

<script type="text/javascript">
    $(document).ready(function () {
        $("#LeadStatus_LeadFlagsID").attr("Name", "LeadStatus.LeadFlagsID");
    });
</script>

